package com.zero.dubbo.model;

import java.io.Serializable;

public class User implements Serializable {

    /**
     * 用户编号
     */
    private Integer id;

    /**
     * 用户名字
     */
    private String name;

    /**
     * 性别
     */
    private Integer gender;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                '}';
    }
}
